package com.zzg.cloud.dto;

public class BaseResultCode {

    /**
     * 成功返回码
     */
    public static final Integer SUCCESS_CODE = 0;

    /**
     * 成功信息
     */
    public static final String SUCCESS_MSG = "OK";

    /**
     * 失败错误码
     */
    public static final Integer BASE_ERROR_CODE = 101;

    /**
     * 失败信息
     */
    public static final String BASE_ERROR_MSG = "系统繁忙，请稍后再试！";

    /**
     * 参数校验异常错误码
     */
    public static final Integer VALIDATE_ERROR_CODE = 102;

    /**
     * 授权失败
     */
    public static final Integer AUTH_FAILD_CODE = 401;

    /**
     * 禁止访问
     */
    public static final Integer FORBIDDEN_CODE = 403;
}